home *** CD-ROM | disk | FTP | other *** search
/ internet.au CDrom 42 / NETCD42.iso / chat / mac / snak.hqx / Snak 2.0b4 / Snak Manual 2.0b4.rsrc / TEXT_135.txt < prev    next >
Encoding:
Text File  |  1998-09-24  |  1.6 KB  |  26 lines

  1.  
  2.  
  3. User Definable Menus
  4. The contents of the Tools menu and the Contextual menus can be set up according to needs of the user. The menu items can be changed, deleted or added from the Menu panel in the Preferences window.
  5.  
  6. The panel contains a pop-up menu at the top that allows you to switch between the menu types.  To delete a menu item, select it in the list and press the delete button or drag the item to the trash. To edit it, double click it or select it and press edit.
  7.  
  8. Each menu item is associated with a snippet of script code that is executed when the menu is selected. 
  9.  
  10. Please see chapter "Using Scripting" for more information on the scripting variables and the scripting language.
  11.  
  12. The Tools Menu
  13. The tools menu is intended for functions that operate on selections in the userlist, so to use most of the built in Tool functions, you need to select a nick in the userlist and use the menu.  
  14.  
  15. Two of the scripting variables that Snak provide are especially suited to be used in Tool functions $E and $F:
  16.  
  17. The $E variable returns the nick of the first selected user and is used in functions like /whois. 
  18.  
  19. The $F variable returns the user and host information that Snak knows about the selected Nick. This is useful in functions like /kick or /ban
  20.  
  21. The Respond function will open a query window to the last person that sent you a private message.
  22.  
  23. The Contextual menus
  24. Contextual menus (CM for short) was introduced with OS8, abd is invoked by holding down the control key when clicking somewhere. Snak supports CM in the userlists, the channel window, the console window and Query/DCC chat windows.
  25.  
  26.